package org.xsk.mall.api.model;

import lombok.Data;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * description: 接口
 * <p>
 * date: 2021/8/2 17:41
 * author: x-one
 */
@Data
public class ServiceModel {

    private String packageName;
    private String serviceName;
    private String serviceDesc;
    private List<MethodModel> methodModelList = new ArrayList<>();
    private String fileName;
    private String className;
    private String filePath;
    private String apiFolder;
    private String module;
    private boolean multipartFile;

    public boolean isMultipartFile(){return multipartFile;};

    public String getModuleUrl(){return this.module.replace(File.separator , "/");};
}
